package com.awonsome.auth.common.enums;

import lombok.Getter;

/**
 * @author yangdejun
 * @date 2022/1/22 21:36
 */
public enum PasswordEncoderTypeEnum {

    BCRYPT("{bcrypt}", "BCRYPT加密"),
    NOOP("{noop}", "无加密明文")
    ;

    @Getter
    private String prefix;

    PasswordEncoderTypeEnum(String prefix, String desc) {
        this.prefix = prefix;
    }
}
